package com.ugtss.busniess.domain.dto;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @description 所有公司对应的招聘信息实体类
 */
@Data
public class RecruitDto {

    private Integer id;

    @NotNull(message = "企业Id不能为空")
    private Integer companyId;

    @NotNull(message = "职位名称不能为空")
    private String jobName;

    private String jobType;

    private String jobRequire; // 职位要求

    @NotNull(message = "薪资范围不能为空")
    private Double minSalary; // 薪资范围

    @NotNull(message = "薪资范围不能为空")
    private Double maxSalary;

    private String jobAddress;

    private String jobDescribe;

    private String jobBenefits; // 职位福利

//    private String jobTime; // 职位发布时间

    private Integer jobStatus; // 职位状态

    private String jobUrl; // 职位链接

    private String demand;

}
